var domContainer = document.querySelector('.container');
domContainer.addEventListener('click', function (e) {
  if ('H2' === e.target.tagName) {
    console.log(e.target.innerText);
  }
});

function openMenu(menudom) {
  var config = {
    duration: 500,
    delay: 0,
    easing: 'ease-in-out',
    onComplete: function () {
      console.log('动画执行完毕');
    },
  };
  createAnimate(config);
}
